<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>注册</title>
</head>
<body>
    <form action="/register" method="POST" >
        <div>
            <label for="username">用户名：</label>
            <input type="text" id="username" name="uname">
        </div>
        <div>
            <label for="password">密码：</label>
            <input type="password" id="password" name="pwd">
        </div>
        <div>
            <label >性别：</label>
            <input type="radio" name="gender" value="1">男
            <input type="radio" name="gender" value="0">女
        </div>
        <div>
            <label >爱好：</label>
            <input type="checkbox" name="hobbies" value="0">敲代码
            <input type="checkbox" name="hobbies" value="1">睡觉
            <input type="checkbox" name="hobbies" value="3">读书
            <input type="checkbox" name="hobbies" value="4">看电视
            <input type="checkbox" name="hobbies" value="5">打篮球
        </div>
        <div>
            <input type="submit" value="注册">
        </div>
    </form>
</body>
</html>